<?php

    require_once '../../../Class/config.php';
	$objcfg = new config();
	require_once ($_SERVER["DOCUMENT_ROOT"]."/".$objcfg->objEnd."/Class/geral.php");

    $geral = new Geral();
    require_once ($geral->conexao());
    require_once ($geral->uf());
    
    $objUf = new uf();

    $objUf->setId($_POST["id"]);
    $objUf->setDescUf($_POST["desc"]);
    $objUf->setSiglaUf($_POST["sigla"]);

    $objUf->alterar();
 
?>

